package com.mc.lp.database.service.handler.response;

import com.mc.lp.database.service.handler.EventResponse;
/**
 * IMPORTANT!!! Every concrete event response class must extend this class.
 * @author deepak
 *
 */
public abstract class AbstractEventResponse implements EventResponse{
	protected ResponseStatus status;
	protected String message;
	public AbstractEventResponse(ResponseStatus status,String message){
		this.message=message;
		this.status=status;
	}
	
	protected void setResponseStatus(ResponseStatus status){
		this.status=status;
	}

	public ResponseStatus getResponseStatus() {
		return status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
